home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / 4dos / ddbtm.zip / DD.BTM
Text File  |  1992-08-18  |  1KB  |  36 lines

  1. if  %1. == . goto main REM CHECKS TO SEE ANY PARAMETER SPECIFIED
  2. cd ..
  3. del /sxyz %1
  4. goto end
  5. :main
  6. rem cls
  7. text
  8.                                      DD.BTM
  9.                                  BY TOM SCHULTE
  10.  
  11.                                  REQUIRES 4DOS
  12.  
  13.       Offered as FREEWARE - May be freely copied as long as it isn't sold.
  14.  CAUTION!! THE AUTHOR ACCEPTS NO LIABILITY FOR ANY DAMAGES THIS PROGRAM CAUSES.
  15.              I've only tested it on my machine and had no trouble.
  16.  
  17.      This program will DELETE ALL FILES AND THE DIRECTORY you specify at the
  18. prompt AS WELL AS THAT DIRECTORY'S SUBDIRECTORIES.
  19.  
  20.                          >> PRESS CONTROL C TO ABORT <<
  21.  
  22.     If there are no files in the directory you wish to delete you will get a
  23. message saying "File not found...." 0 file(s) deleted. However, the directory
  24. you specified will be deleted.
  25.  
  26.      If you specified a parameter on the command line (dd [dirname]) the
  27. directory will be deleted without going to this screen
  28.  
  29. endtext
  30. input Enter the Directory to be deleted %%thing
  31. :do
  32. cd ..
  33. del /sxyz %thing
  34. :end
  35.  
  36.